from django.conf.urls import url
from django.views.decorators.csrf import csrf_exempt

from apps.operation.views import AddFavView, CommentView, DiscussCommentView

urlpatterns = [
    # 用户收藏
    url(r'^add_fav/$',  csrf_exempt(AddFavView.as_view()), name="fav"),
    url(r'^comment/$', CommentView.as_view(), name="comment"),
    url(r'^discuss_comment/$', DiscussCommentView.as_view(), name="discuss_comment"),

]
